package com.umgsai.thread.thread33;

public class Main {
	public static void main(String[] args) {
		String lock = new String("");
		Producer producer = new Producer(lock);
		Consumer consumer = new Consumer(lock);
		ThreadP threadP = new ThreadP(producer);
		ThreadC threadC = new ThreadC(consumer);
		threadP.start();
		threadC.start();
	}
}
